package com.qyhl.module_practice.order;


import com.qyhl.webtv.commonlib.entity.UpTokenBean;
import com.qyhl.webtv.commonlib.entity.civilized.PracticeOrderListBean;

public interface PracticeOrderContract {

    interface PracticeOrderView {
        void setTypeList(PracticeOrderListBean bean);

        void setTypeError(String msg);

        void uploadSuccess(String msg);

        void uploadError(String msg);

        void getTokenSuccess(UpTokenBean data, boolean isUpload);

        void getTokenError(boolean isUpload);
    }

    interface PracticeOrderPresenter {
        void getTypeList(String instId);

        void upload(String volId, String insId, String address, String detail, String name, String creator, String type, String imgs, String upPhone);

        void getToken(boolean isUpload);

        void setTypeList(PracticeOrderListBean bean);

        void setTypeError(String msg);

        void uploadSuccess(String msg);

        void uploadError(String msg);

        void getTokenSuccess(UpTokenBean data, boolean isUpload);

        void getTokenError(boolean isUpload);
    }

    interface PracticeOrderModel {
        void getTypeList(String instId);

        void upload(String volId, String insId, String address, String detail, String name, String creator, String type, String imgs, String upPhone);

        void getToken(boolean isUpload);
    }
}
